import Vue from 'vue'
import App from './App.vue'
import store from './store'
import api from '@/api'
import axios from 'axios'
import VueAxios from 'vue-axios'
//淘宝无线适配
import '@/assets/js/flexible'
Vue.use(VueAxios, axios)    //引入axios
Vue.prototype.$api = api
Vue.config.productionTip = false
axios.defaults.baseURL = '/api'
new Vue({
  store,
  render: h => h(App)
}).$mount('#app')
